package com.atguigu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author DoGH
 * @email sunlightcs@gmail.com
 * @date 2023-10-25 10:37:42
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    /**
     * 分页查询
     *
     * @param params 参数
     * @return {@link PageUtils }
     * @author DuGuanghan
     * @since 2024-02-02 15:53:13
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 删除属性与分组的关联关系
     *
     * @param entities 实体
     * @author DuGuanghan
     * @since 2024-02-02 15:53:09
     */
    void deleteBatchRelationAttr(List<AttrAttrgroupRelationEntity> entities);
}

